<?php
require_once("../config.inc.php");
require_once(INCLUDE_PATH . "db.inc.php");
require_once(INCLUDE_PATH . "blog.inc.php");
require_once(INCLUDE_PATH . "user.inc.php");
require_once(INCLUDE_PATH . "function.inc.php");

session_start();

$User = new User();
$blog = new Blog();

$action = $_GET['Action'];
if(!$action) $action = "Post";

require_once("header.php");

if(file_exists("$action".".php"))
{
	require("$action".".php");
}else{
	echo "参数错误";
}

require_once("footer.php");
?>
